package com.hdu.kdk_es_orm.utils;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class PredictUtil {

    public static void checkTrue(boolean condition, Exception e) throws Exception {
        if (!condition) {
            throw e;
        }
    }
}
